#include "mainwindow.h"

#include <QApplication>
#include "qlog.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
//    qSetMessagePattern("Message:%{message} File:%{__FILE__} Line:%{line} Function:%{function} DateTime:%{time [yyyy-MM-dd hh:mm:ss ddd]}");
    logInit();
//    qInstallMessageHandler(logReHandle);
    MainWindow w;
    w.show();
    return a.exec();
}
